package com.sunwayworld.basemodule.coredata.pjproduct.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.coredata.pjproduct.bean.LimsProductConditionBean;
import com.sunwayworld.basemodule.coredata.pjproduct.dao.LimsProductConditionDao;
import com.sunwayworld.basemodule.coredata.pjproduct.mapper.LimsProductConditionMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsProductConditionDaoImpl extends MybatisDaoSupport<LimsProductConditionBean, Long> implements LimsProductConditionDao {

    @Autowired
    private LimsProductConditionMapper limsProductConditionMapper;

    @Override
    public LimsProductConditionMapper getMapper() {
        return limsProductConditionMapper;
    }

    @Override
    public List<Map<String, Object>> queryFields(MapperParameter temp) {
        return getMapper().queryFields(temp);
    }
}
